package com.ourteam.workspace.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:26 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseWorkspaceResourceUIPageRelateDAO
    extends IDataAccessInterface<
        WorkspaceResourceUIPageRelate, WorkspaceResourceUIPageRelateDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "WORKSPACE_RESOURCE_UI_PAGE_RELATE";

  /** Mapped Field ID */
  static final String Id = "WORKSPACE_RESOURCE_UI_PAGE_RELATE.ID";

  /** Mapped Field WORKSPACE_RESOURCE_ID */
  static final String WorkspaceResourceId =
      "WORKSPACE_RESOURCE_UI_PAGE_RELATE.WORKSPACE_RESOURCE_ID";

  /** Mapped Field UI_PAGE_ID */
  static final String UiPageId = "WORKSPACE_RESOURCE_UI_PAGE_RELATE.UI_PAGE_ID";

  /** Mapped Field LAST_GEN_CODE_TIME */
  static final String LastGenCodeTime = "WORKSPACE_RESOURCE_UI_PAGE_RELATE.LAST_GEN_CODE_TIME";

  /** Mapped Field SUBMITTER_ID */
  static final String SubmitterId = "WORKSPACE_RESOURCE_UI_PAGE_RELATE.SUBMITTER_ID";

  /** Mapped Field SUBMITTER_NAME */
  static final String SubmitterName = "WORKSPACE_RESOURCE_UI_PAGE_RELATE.SUBMITTER_NAME";

  /** Mapped Field STATUS */
  static final String Status = "WORKSPACE_RESOURCE_UI_PAGE_RELATE.STATUS";

  /** Mapped Field REMARKS */
  static final String Remarks = "WORKSPACE_RESOURCE_UI_PAGE_RELATE.REMARKS";

  /** Mapped Attribute resourcePath */
  static final String ResourcePath =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.ResourcePath,
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.EntityName + ".",
          "RELATED_Y9KSA7_WorkspaceResource.");

  /** Mapped Attribute resourceType */
  static final String ResourceType =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.ResourceType,
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.EntityName + ".",
          "RELATED_Y9KSA7_WorkspaceResource.");

  /** Mapped Attribute workspaceId */
  static final String WorkspaceId =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.WorkspaceId,
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.EntityName + ".",
          "RELATED_Y9KSA7_WorkspaceResource.");

  /** Mapped Attribute pageCode */
  static final String PageCode =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIPageDAO.PageCode,
          com.ourteam.product.ui.dao.IProductUIPageDAO.EntityName + ".",
          "RELATED_O4Z9I5_ProductUIPage.");

  /** Mapped Attribute pageName */
  static final String PageName =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIPageDAO.PageName,
          com.ourteam.product.ui.dao.IProductUIPageDAO.EntityName + ".",
          "RELATED_O4Z9I5_ProductUIPage.");

  /** Mapped Attribute uiDomainId */
  static final String UiDomainId =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIPageDAO.DomainId,
          com.ourteam.product.ui.dao.IProductUIPageDAO.EntityName + ".",
          "RELATED_O4Z9I5_ProductUIPage.");

  /** Mapped Attribute uiDomainName */
  static final String UiDomainName =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIDomainDAO.DomainName,
          com.ourteam.product.ui.dao.IProductUIDomainDAO.EntityName + ".",
          "RELATED_FZ84CH_ProductUIDomain.");

  /** Mapped Attribute uiDomainCode */
  static final String UiDomainCode =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIDomainDAO.DomainCode,
          com.ourteam.product.ui.dao.IProductUIDomainDAO.EntityName + ".",
          "RELATED_FZ84CH_ProductUIDomain.");

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute workspaceResourceId */
    static final String WorkspaceResourceId = "workspaceResourceId";

    /** Attribute uiPageId */
    static final String UiPageId = "uiPageId";

    /** Attribute lastGenCodeTime */
    static final String LastGenCodeTime = "lastGenCodeTime";

    /** Attribute submitterId */
    static final String SubmitterId = "submitterId";

    /** Attribute submitterName */
    static final String SubmitterName = "submitterName";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute remarks */
    static final String Remarks = "remarks";

    /** Attribute resourcePath */
    static final String ResourcePath = "resourcePath";

    /** Attribute resourceType */
    static final String ResourceType = "resourceType";

    /** Attribute workspaceId */
    static final String WorkspaceId = "workspaceId";

    /** Attribute pageCode */
    static final String PageCode = "pageCode";

    /** Attribute pageName */
    static final String PageName = "pageName";

    /** Attribute uiDomainId */
    static final String UiDomainId = "uiDomainId";

    /** Attribute uiDomainCode */
    static final String UiDomainCode = "uiDomainCode";

    /** Attribute uiDomainName */
    static final String UiDomainName = "uiDomainName";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  WorkspaceResourceUIPageRelate findById(final long id) throws Exception;
}
